﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterSheetSchema

    Public Class defenses

        Private aArmor As New List(Of armor)
        Private dDefense As New List(Of defense)
        Private dDodge As New List(Of avoidance)
        Private pParry As New List(Of avoidance)
        Private bBlock As New List(Of avoidance)
        Private rResilience As New List(Of resilience)

        <XmlElement()> Public Property armor() As List(Of armor)
            Get
                Return aArmor
            End Get
            Set(ByVal value As List(Of armor))
                aArmor = value
            End Set
        End Property

        <XmlElement()> Public Property defense() As List(Of defense)
            Get
                Return dDefense
            End Get
            Set(ByVal value As List(Of defense))
                dDefense = value
            End Set
        End Property

        <XmlElement()> Public Property dodge() As List(Of avoidance)
            Get
                Return dDodge
            End Get
            Set(ByVal value As List(Of avoidance))
                dDodge = value
            End Set
        End Property

        <XmlElement()> Public Property parry() As List(Of avoidance)
            Get
                Return pParry
            End Get
            Set(ByVal value As List(Of avoidance))
                pParry = value
            End Set
        End Property

        <XmlElement()> Public Property block() As List(Of avoidance)
            Get
                Return bBlock
            End Get
            Set(ByVal value As List(Of avoidance))
                bBlock = value
            End Set
        End Property

        <XmlElement()> Public Property resilience() As List(Of resilience)
            Get
                Return rResilience
            End Get
            Set(ByVal value As List(Of resilience))
                rResilience = value
            End Set
        End Property

    End Class

End Namespace